<template>
  <div class="mod-home">
    <div class="mod-home-wrap">
      <div class="mod-home-txt">
        Welcome!
      </div>
<!--      <div class="mod-home-btn" @click="onClick">跳转首页</div>-->
    </div>
    <div class=mod-home-name>
      {{name}}
    </div>
  </div>
</template>

<script>
import {SYSTEM_TITLE} from '@/constant'

export default {
  data() {
    return {
      name: SYSTEM_TITLE
    }
  },
  methods: {
    onClick() {
      window.open(location.pathname)
    }
  }
}
</script>


<style lang="scss" scoped>
.mod-home {
  height: 100%;
  box-sizing: border-box;
  padding: 0px;
  background: url("~@/assets/sys/sys-bg.jpg") no-repeat;
  background-size: contain;
  color: #1890ff;

  &-wrap {
    position: absolute;
    border-radius: 50px;
    left: 100px;
    top: 60px;
  }

  &-txt {
    font-weight: bold;
    font-size: 44px;
  }

  &-btn {
    border-radius: 50px;
    padding: 10px 50px;
    background: #1890ff;
    color: #FFF;
    display: inline-block;
    margin-top: 40px;
    cursor: pointer;
  }

  &-name {
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    bottom: 100px;
    left: 100px;
  }
}
</style>

